package com.cf.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author ChenFeng
 * @date 2021/11/8 3:06 下午
 * @description
 */
@Component
@FeignClient(name = "sword-system")
public interface RoleFeign {

    @GetMapping("/getRoleNamesByRoleIds")
    List<String> getRoleNamesByRoleIds(@RequestParam("roleIds") String roleIds);

}
